SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8046ae1e04517e84c06e76301268f893a7354b274b57088db1f562187e34dae' 
  AND token = '2Y9gWlCtdeTC1NmYOfvkf53JWSjVIxloS4epxmewB/s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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