SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef4246081738e07463f93bf67e2f975ed296a0005e344bdd9f3677b227f8dffb' 
  AND token = 'LiSRFyPnaLY8YjSfEV7XWHonrnnsjhATIa0evr/VlAU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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