SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd844c25ee5924af70a893bd611c857c18d3084255c5a65a5c918c09ac2bfd232' 
  AND token = 'E7s7lmdCWuxJcmMxSZ/NXYvVoWuO1DvpuhjnRHIRkfE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}