SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd423ecd786abcf54651d4ad7b99a19fb3e83dd0a412724905e5ffea467afd6f5' 
  AND token = 'KKxrc5kMjWPWHeHeXjlSTtp9D3ZWw2W7mKSxOXu7zMI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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