SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '418862c7db2737e163bf82231e123b23b4beaea8dfa3c98bb58747358a5b6450' 
  AND token = 'Oys5DAUzK1M4Tgajhctmk5aPrLg7X7gkoeDaFVWy1ds=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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