SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edeb1ac7a02d2b9f418e6eb1ad0bcb7022573f5816feb32075fbf1bb473e6deb' 
  AND token = 'VrPcdFJXRYC+P7Gm2wv/nv8UseE9+9rx9CQv8J17ERY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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