SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4b57cf5cfb041782add9ac664181028adafa6aa4945b6cf2f997cb1eeca334a' 
  AND token = 'xtxXhiVbtPmvpyn7t04q6qR/b2wsE+FlSj1bBA/NCiI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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