SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a3fa929e256e9949e2f1b2b9f48c2935dcccd8bb8652f4a32d16a1364bebba1' 
  AND token = 'KoZhscC6dZS0xG1nINvpUn61mnMG0N/u8251t5wePV4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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