SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ded74e2b69e2f231e541dbf5b37c47ef4ebc1e1f8db2c54c1ea665e9d1f1eef3' 
  AND token = 'y2lA5Zo7ZqhB6lJ3sgX3GsC85WicZkx3dIvHjmF6ugI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00053

JSON explain

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