SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b76ab5ed80af795cc83c814c6f8196d9dca2e3a763b601fd88850b1c4536c26' 
  AND token = '7/XZho1BK0yYLDpNobwspaKuFQhX6s33NS3DM/1jFVQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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