SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7b2f491c757da0c90135aa2cc731087ea6ea6efacbb9017f4ecd330c7e338e6e' 
  AND token = 'NJVa1jh39ROhNkFar5wWz5Q/Jrfl3uo3rIHRcQoH/10=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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