SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7318f27566d82415975d9b17aed6e19e011616bfacb4712517bb4bb8c24aab4a' 
  AND token = 'eYH67THW41OcsaIBpuT8hqqQH51DX+iwu9r3J0kj8BY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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