SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc288500bb0ecbae696e2ff5f6ac3fc4ccc4b6ab15b1f8c38e54df4f64bd365d' 
  AND token = '4IzQsT0MhAkcCZxfqAcd6/BZFS1GpQs7YKiBeesRO2Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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