SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd61100dd104bf3019e13c47acc8c39efcd8fc66898f5a44267f9a7a4ff8df946' 
  AND token = '2gUOUnhCn2kcxTVBs0Zq2h2k/Ecq8uMStQ+vD4nmO4g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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