SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c7ab590d8a06c581fc89b14e3c6e8ca2442eced56511725900e51d50f1c6ddc' 
  AND token = 'XOncG0Q6MKAngEctdZb0j3WLREQ5HEAl1qGn/PsGdv4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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