SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ed6cbea6bc689b21960e685ebcf107c9313fb4e89fd0ec76dc79833db78477c7' 
  AND token = 'NfQqMdg824eym+3an16g3rTY5yVIO6Rb+ZrpddO79eE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}