SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45d920809060185894128f1ea977842f7dbc503989718f76545da409b06204fc' 
  AND token = 'FCbapncd7qjxFgyY1ZaPycqfmiD6/QfYZvSJEQNKEBg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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