SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0d709909de0968bd1b44ceb14a7284297f95a9dec14b70c4d1b7fee5bccceadc' 
  AND token = 'k1mBM03l/foSEtFsQeiqNR0F5bQr6fipglWcR7+iQwI=' 
  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"
    }
  }
}