SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '236fc51740f89c6dc7e3b03a24d2674b21b2ff13ac1c74ef36a35097355e9351' 
  AND token = 'xgkvRESeSq8MDm7Xe5y8ZdW5Z45pnXWnB12ZuSS5YVk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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