SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec38d739cfa55557e3f59092f118f6d1e23d4e75c08b79a9a63763a03207f1bf' 
  AND token = 'eHZvQA89LDphgjAP20gJDLbg9SNKohH/hjl8DvoJ30w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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