SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddfe097b08831a060ec1a45e2db8fe3d4947d139ab8cc80b6df2167bdef1b845' 
  AND token = 'ZjFKTVVutO6FAO3+bHNpdEFeTF6MZp6TZYa5DEmqoUk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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